package com.scpii.api.service.content.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.scpii.api.domain.content.Resources;
import com.scpii.api.persistence.content.ResourcesMapper;
import com.scpii.api.service.content.ResourcesService;

@Service
public class ResourcesServiceImpl implements ResourcesService {

	@Resource
	private ResourcesMapper resourcesMapper;

	@Override
	public List<Resources> selectBySelective(Resources record) {
		return resourcesMapper.selectBySelective(record);
	}

	@Override
	public void insertSelective(List<Resources> resources) {
		for (Resources param : resources) {
			resourcesMapper.insertSelective(param);
		}
	}

}
